﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mappings;

namespace Apollo.Modules.Commissioning
{
    [NHibernateEntity(Table = "CommissionExcludedProducts")]
    public class CommissionExcludedProduct
    {
        public CommissionExcludedProduct() { }

        [PrimaryKey]
        public virtual int Id { get; set; }

        [BelongsTo(Column = "ID_Product")]
        public virtual Product Product { get; set; }

        [BelongsTo(Column = "ID_CommissionType")]
        public virtual CommissionType CommissionType { get; set; }
    }
}
